<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no" /> 
		<title>江湖斗牌</title>

		<style type="text/css">
			*{margin: 0;padding: 0;}
			body{width: 100%;height: 100%;}
			.box{position: relative;margin: 0;}

			.bg{width: 100%;height: 100%;display: block;}
			img{display: block}

		</style>
		
	</head>
	<body>
		<div class="down">
			<div class="box" id="androidDownload">

				<img src="image/bg.jpg" class="bg">
				
			</div>
	
	</body>
</html>

<script type="text/javascript" charset="UTF-8" src="//res.cdn.openinstall.io/openinstall.js"></script>
<script type="text/javascript">

		
    var data = OpenInstall.parseUrlParams();//openinstall.js中提供的工具函数，解析url中的所有查询参数
    new OpenInstall({

        appKey : "czt7s5",
        onready : function() {
            var m = this, androidbutton = document.getElementById("androidDownload");
            androidbutton.style.visibility = "visible";

            /*在app已安装的情况尝试拉起app*/
            m.schemeWakeup();
            /*用户点击某个按钮时(假定按钮id为downloadButton)，安装app*/
            
			androidbutton.onclick = function() {
                m.wakeupOrInstall();
                return false;
            }

        }
    }, data);


</script>